/*
Copyright (c) [2019年5月1日] [吴超]
[MBT_studio] is licensed under Mulan PSL v2.
You can use this software according to the terms and conditions of the Mulan PSL v2.
You may obtain a copy of Mulan PSL v2 at:
		 http://license.coscl.org.cn/MulanPSL2
THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
See the Mulan PSL v2 for more details.
*/
#include "stdafx.h"
#include "ui散列视口.h"



static void f_散列视口绘制(C_Widget* 部件, S_2D画布* 画布) {
	if (画布) {
		//f_begin绘制2D图形(画布);
		//f_vg_set填充颜色(画布, { 0.0f ,0.0f, 1.0f, 1.0f });
		//f_vg_绘制矩形(画布, { 0,0, 100, 20 }, true);
		std::cout << "f_散列视口绘制:" << 画布 << " = " << 部件 << std::endl;
		//f_end绘制2D图形(画布);
	}

}

C_散列视口::C_散列视口(S_UI创建环境& ctx) : C_Widget(&ctx) {
	
	mf_DrawFun = f_散列视口绘制;

}

void C_散列视口::f_添加子组件(C_Widget* w) {


	C_Widget::f_添加子组件(w);
}






